home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
prg_casm
/
snip9611.zip
/
SOUND.C
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
679b
|
34 lines
/* +++Date last modified: 02-Sep-1996 */
/*
** SOUND.C
**
** Original Copyright 1988-1991 by Bob Stout as part of
** the MicroFirm Function Library (MFL)
**
** The user is granted a free limited license to use this source file
** to create royalty-free programs, subject to the terms of the
** license restrictions specified in the LICENSE.MFL file.
*/
#include "pchwio.h"
#include "sound.h"
void soundon(void)
{
short value;
value = inp(SCNTRL);
value |= SOUNDON;
outp(SCNTRL, value);
}
void soundoff(void)
{
short value;
value = inp(SCNTRL);
value &= SOUNDOFF;
outp(SCNTRL, value);
}